package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 客户联系人表
 * </p>
 *
 * @author LX
 * @since 2018-09-05
 */
@TableName("erp_customer_contact")
public class ErpCustomerContact extends Model<ErpCustomerContact> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户ID
     */
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 联系人姓名
     */
    @TableField("con_name")
    private String conName;
    /**
     * 职务
     */
    @TableField("con_role")
    private String conRole;
    /**
     * 主管范围
     */
    @TableField("con_range")
    private String conRange;
    /**
     * 性别
     */
    @TableField("con_sex")
    private String conSex;
    /**
     * 电话
     */
    @TableField("con_phone")
    private String conPhone;
    /**
     * 手机
     */
    @TableField("con_mob_phone")
    private String conMobPhone;
    /**
     * 传真
     */
    @TableField("con_fax")
    private String conFax;
    /**
     * 邮箱
     */
    @TableField("con_email")
    private String conEmail;
    /**
     * QQ
     */
    @TableField("con_qq")
    private String conQq;
    /**
     * 微信
     */
    @TableField("con_weixin")
    private String conWeixin;
    /**
     * 日期类型
     */
    @TableField("con_date_type")
    private String conDateType;
    /**
     * 重要时间
     */
    @TableField("con_important_date")
    private String conImportantDate;

    /**
     *录入人
     */
    @TableField("lu_ru_people")
    private  String luRuPeople;

    public String getLuRuPeople() {
        return luRuPeople;
    }

    public void setLuRuPeople(String luRuPeople) {
        this.luRuPeople = luRuPeople;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getConName() {
        return conName;
    }

    public void setConName(String conName) {
        this.conName = conName;
    }

    public String getConRole() {
        return conRole;
    }

    public void setConRole(String conRole) {
        this.conRole = conRole;
    }

    public String getConRange() {
        return conRange;
    }

    public void setConRange(String conRange) {
        this.conRange = conRange;
    }

    public String getConSex() {
        return conSex;
    }

    public void setConSex(String conSex) {
        this.conSex = conSex;
    }

    public String getConPhone() {
        return conPhone;
    }

    public void setConPhone(String conPhone) {
        this.conPhone = conPhone;
    }

    public String getConMobPhone() {
        return conMobPhone;
    }

    public void setConMobPhone(String conMobPhone) {
        this.conMobPhone = conMobPhone;
    }

    public String getConFax() {
        return conFax;
    }

    public void setConFax(String conFax) {
        this.conFax = conFax;
    }

    public String getConEmail() {
        return conEmail;
    }

    public void setConEmail(String conEmail) {
        this.conEmail = conEmail;
    }

    public String getConQq() {
        return conQq;
    }

    public void setConQq(String conQq) {
        this.conQq = conQq;
    }

    public String getConWeixin() {
        return conWeixin;
    }

    public void setConWeixin(String conWeixin) {
        this.conWeixin = conWeixin;
    }

    public String getConDateType() {
        return conDateType;
    }

    public void setConDateType(String conDateType) {
        this.conDateType = conDateType;
    }

    public String getConImportantDate() {
        return conImportantDate;
    }

    public void setConImportantDate(String conImportantDate) {
        this.conImportantDate = conImportantDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpCustomerContact{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", conName=" + conName +
        ", conRole=" + conRole +
        ", conRange=" + conRange +
        ", conSex=" + conSex +
        ", conPhone=" + conPhone +
        ", conMobPhone=" + conMobPhone +
        ", conFax=" + conFax +
        ", conEmail=" + conEmail +
        ", conQq=" + conQq +
        ", conWeixin=" + conWeixin +
        ", conDateType=" + conDateType +
        ", conImportantDate=" + conImportantDate +
        "}";
    }
}
